/* Main window */
#ifndef SPIDEYWINDOW_H
#define SPIDEYWINDOW_H
#include <QMainWindow>
#include <QGraphicsScene>

/* Constants */
#define WINDOWXRES 800
#define WINDOWYRES 700
/**Constants**/

class QAction;
class QMenu;
class node;

class SpideyWindow : public QMainWindow
{
    Q_OBJECT
public:
    QGraphicsScene *scene;
    SpideyWindow();
    void addNode(node *addMe);

private slots:
	void runUrlDialog();
	void about();

private:
	void createActions();
	void createMenus();
	QMenu *fileMenu;
	QMenu *editMenu;
	QMenu *helpMenu;
	QAction *exitAct;
	QAction *urlDialogAct;
	QAction *aboutAct;
};

#endif // SPIDEYWINDOW_H
